import { ref } from 'vue'

export const useNum = (count) => {
    const num = ref(count)
    const add = () => {
        num.value += 1
    }
    return {
        num,
        add
    }
}